The Caveman Sound System is a high-level library of C routines for playing sound on the Macintosh. These routines were designed with games in mind, but could be used for other purposes as well. They have been included in my own products such as PowerPong , and I indend to use them in future projects.
How Do I Use The Caveman Sound System?
To use The Caveman Sound System, simply include the file "CMSoundSystem.c" in your project and include "CMSoundSystem.h" in the file calling the sound system. Documentation for using the sound system is provided in the "CMSoundSystem.h" header file. I have tried to make the documentation as complete as possible, but either the source code or myself may be consulted if a question should arise.
What is Included With The Sound System?
There should be five files included with The Caveman Sound System. The following is a list of each file and its purpose:
Caveman Sound Readme - This file.
CMSoundSystem.c - This is the source for the sound system. You should include this in the project of any program that uses the sound system routines.
CMSoundSystem.h - This is the interface to the sound system. This is also where each of the routines is documented in detail.
sndtest.c - This is the source for a example program and tutorial. It provides an example of how the sound system is typically used. I have included copious documentation in this file as well to serve as a tutorial of sorts.
sndtest.π - The project file for the example program. This is a THINK C 5.0 project. Sorry, Code Warrior users, you'll have to build your own project.
sndtest.π.rsrc - Resources for the example program. It includes a few sound resources used by the example program as a template resource ('TMPL') for creating 'MUSL' resources for use by the music loader. The music, by the way, is a segment of the music from PowerPong and was written by Michael Hay.
Permission to use, copy, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the names of David Hay and Caveman Creations may not be used in any advertising or publicity relating to the software without the specific, prior written permission of David Hay.
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL DAVID HAY OR CAVEMAN CREATIONS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lawyer mode off.
Ok. Basically what the above says is that you can do anything you want with the library except the following:
1. You can't sell it.
2. You can't claim it for your own.
3. Any redistribution must include the above copyright notice and this file.
4. If it kills your pet goldfish, I'm not responsible.
While the library is free, I would appriciate some form of compensation if you do use the program in your on projects. I would be willing to accept either money ($10 US would be about right) or to receive a fully registered version of any programs the library is used in. Again thisis not a requirements, but rather a request.
Release Notes
v1.0 9/11/95
• Initial Release
About Caveman Creations
Caveman Creations (CMC) is a company devoted to providing quality software and development utilities for low prices. For more information and an up to date list of currently released products, visit CMC on the World Wide Web at <http://ugrad-www.cs.colorado.edu/~hay/cmc/cmc.html>
Any bug reports, comments, or questions may be directed to me at the following locations: